package park

import (
	"time"
)

type ParkingLotParknflyStruct struct {
	Id        int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	ParkCode  string    `json:"park_code" gorm:"type:varchar(20); COMMENT:'静态停车场编码'"`
	ParkId    int       `json:"park_id" gorm:"type:int(11); COMMENT:'泊安飞 - 车场id'"`
	ParkName  string    `json:"park_name" gorm:"type:varchar(255); COMMENT:'泊安飞 - 停车场名称'"`
	ParkPrice float64   `json:"park_price" gorm:"type:decimal(10,2); COMMENT:'泊安飞 -  停车场价格'"`
	DailyCost int       `json:"daily_cost" gorm:"type:int(11); COMMENT:'泊安飞 - 停车价格'"`
	Day       int       `json:"day" gorm:"type:int(11); COMMENT:'泊安飞 - 起停天数'"`
	ParkKey   string    `json:"park_key" gorm:"type:varchar(255); COMMENT:'泊安飞 - 停车场key'"`
	Number    int       `json:"number" gorm:"type:int(11);  COMMENT:'泊安飞 - 停车位数量'"`
	CreatedAt time.Time `json:"created_at" gorm:"type:datetime"`
	UpdatedAt time.Time `json:"updated_at" gorm:"type:datetime"`
}

func (c *ParkingLotParknflyStruct) TableName() string {
	return "parking_lot_parknfly"
}
